<?php
require_once (__DIR__ . "/../../models/Products.php");
require_once (__DIR__ . "/../../models/Keywords.php");
$row = Products::Get($_REQUEST['id']);
?>
				<dl class="dl-horizontal">
					<dt>Name:</dt>
					<dd><?php echo $row['name'];?></dd>
					<dt>SKU:</dt>
					<dd><?php echo $row['sku'];?></dd>
					<dt>Short Description:</dt>
					<dd><?php echo $row['shortDescription'];?></dd>
					<dt>Long Description:</dt>
					<dd><?php echo $row['longDescription'];?></dd>
					<dt>Category:</dt>
					<dd><?php echo Keywords::GetName($row['category']);?></dd>
					<dt>Num In Stock:</dt>
					<dd><?php echo $row['numInStock'];?></dd>
					<dt>Price:</dt>
					<dd><?php echo $row['price'];?></dd>
					<dt>Location:</dt>
					<dd><?php echo $row['location'];?></dd>
					<dt>Thumb:</dt>
					<dd><img src="<?=$row['thumb']?>" alt="thumbnail" /></dd>
					<dt>Image:</dt>
					<dd><img src="<?=$row['image']?>" alt="image" /></dd>
					<dt>Created:</dt>
					<dd><?php echo $row['created_at'];?></dd>
					<dt>Updated:</dt>
					<dd><?php echo $row['updated_at'];?></dd>
				</dl>
